package com.asura.ops.sync.client;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author: zouyang
 * @date: 2022/8/1
 * @description: 启动类
 */
@SpringBootApplication(exclude = {
        RabbitAutoConfiguration.class,
        DataSourceAutoConfiguration.class,
        DataSourceTransactionManagerAutoConfiguration.class,
        DruidDataSourceAutoConfigure.class})
@EnableDiscoveryClient
@Slf4j
public class AsuraOpsSyncClientApp {
    public static void main(String[] args) {
        SpringApplication.run(AsuraOpsSyncClientApp.class, args);
    }

}
